﻿using System;
namespace PBOffice.Model
{
	/// <summary>
    /// MessageToUser:消息发送对象表(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class MessageToUser
	{
		public MessageToUser()
		{}
		#region Model
        private int _id;//序号Id
        private int _messageid;//消息Id，外键
		private string _touserid;//发送对象Id，不需要关键外键，0 表示发送给所有用户
		private int _ifread;//是否已读。1：已读、0：未读
		/// <summary>
		/// 
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int MessageId
		{
			set{ _messageid=value;}
			get{return _messageid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ToUserId
		{
			set{ _touserid=value;}
			get{return _touserid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int IfRead
		{
			set{ _ifread=value;}
			get{return _ifread;}
		}
		#endregion Model

	}
}

